.commonCoupon {
  width: 100%;
  // padding: 24px 0;
  height: calc(70vh + env(safe-area-inset-bottom));
  // overflow-y: scroll;
  background-color: #f5f5f5;
}

.couponModal {
  position: fixed;
  bottom: 0;
  height: 100vh;
  // overflow: scroll;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 100;

  .mask-container {
    position: absolute;
    bottom: 0;
    height: 70vh;
    height: calc(70vh + env(safe-area-inset-bottom));
    height: calc(70vh + constant(safe-area-inset-bottom));
    width: 100%;
    overflow-y: scroll;
    background-color: #f5f5f5;
    border-radius: 16px 16px 0 0;

    .mask-header {
      flex-direction: row;
      justify-content: center;
      align-items: center;
      width: 100vw;
      height: 96px;
      padding: 0 32px;
      background: rgba(255, 255, 255, 1);
      box-shadow: 0 -1px 0 0 rgba(230, 230, 230, 1);
      border-radius: 16px 16px 0 0;
      z-index: 10;

      .header-text {
        flex: 1;
        font-size: 32px;
        text-align: center;
        margin-left: 40px;
      }

      .close-icon {
        width: 40px;
        height: 40px;
      }

      .close-img {
        width: 40px;
        height: 40px;
      }
    }

    .mask-con {
      padding: 0 24px;
    }
  }
}

.address-picker-container {
  width: 100%;
  height: 100vh;
  display: flex;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  visibility: hidden;

  span {
    color: #333333;
  }

  .picker-content {
    position: absolute;
    //transform: translateY(150%);
    //transition: all 0.4s ease;
    .picker-view-wrap {
      width: 640px;
      height: 960px;
      align-items: center;
      padding: 40px;
      background: #ffffff;
      border-radius: 16px;

      .rule {
        align-items: center;
        font-size: 32px;
        font-weight: 500;
        color: rgba(0, 0, 0, 0.8);
        margin-bottom: 36px;
      }

      .text {
        font-size: 28px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.8);
        line-height: 52px;
      }
    }
  }

  .cancel {
    margin-top: 32px;
    align-items: center;

    .close {
      width: 80px;
      height: 80px;
    }
  }
}

.show-picker {
  visibility: visible;

  .picker-content {
    transform: translateY(0);
    transition: all 0.4s ease;
  }
}
